﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;

namespace DKT.WeiXinAPI.Message
{
    public class Video : Factory.AbstractMessage
    {
        public override MessageBody Reply()
        {
            throw new NotImplementedException();
        }


        [Serializable]
        [XmlRoot("xml")]
        public class Response : Factory.AbstractMessage.MessageBody
        {
            public Response() : base()
            {
                this.MsgType = "video";
            }

            public string MsgId { get; set; }

            [System.Xml.Serialization.XmlElement(ElementName = "Video")]
            public VideoItem Video { get; set; }

        }

        [Serializable]

        public class VideoItem
        {

            public string MediaId { get; set; }
            public string Title { get; set; }
            public string Description { get; set; }

        }

    }
}
